<% form_remote_tag(:url => {:action => 'update_note', :note_id => @note, :relationship_id => @relationship}) do %>
<%# @note_types = NoteType.find(:all) %>
<div>
	<%= select(:note, :note_type, NoteType.find(:all).collect {|n| [n.name,n.id]}, {:include_blank => true, :selected => @note.note_type.id}) %> <label>Confidential:</label> <%= check_box :note, :confidential %>
</div>

<div>
	<%= text_area :note, :text, :rows => 15, :cols => 45 %>
</div>
<%= submit_tag "update" %>
<% end %>